<%--
  Created by IntelliJ IDEA.
  User: MAC
  Date: 2018/7/11
  Time: 13:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<link rel="stylesheet" href="/static/js/plugins/jquery-easyui/themes/bootstrap/easyui.css">
<!--引入easyui图标样式-->
<link rel="stylesheet" href="/static/js/plugins/jquery-easyui/themes/icon.css">
<!--引入easyui依赖的jquery程序库-->
<script src="/static/js/plugins/jquery-easyui/jquery.min.js"></script>
<!--引入easyui的程序库-->
<script src="/static/js/plugins/jquery-easyui/jquery.easyui.min.js"></script>

<script src="/static/js/plugins/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/static/js/system/basic.js"></script>
<script type="text/javascript" src="/static/js/system/experience.js"></script>

<html>
<head>
    <title>员工基本信息</title>
</head>
<body>

<%--=====================================================员工基本信息============================================================--%>
<div id="aa" class="easyui-layout" style="width:600px;height:400px;" fit="true">
    <div data-options="region:'north'" style="height:35px;"></div>
     <div data-options="region:'south',split:true" style="height:50px;"></div>
    <div data-options="region:'east'" style="width:50px;"></div>
    <div data-options="region:'west'" style="width:50px;"></div>

    <div data-options="region:'center'" style="padding:5px">
        <div id="aaa" class="easyui-layout" style="width:600px;height:400px;" fit="true">

            <div id="aaaa">
                <a href="#" class="easyui-linkbutton" iconCls="icon-save" data-cmd="save">保存</a>
                <a href="#" class="easyui-linkbutton" iconCls="icon-edit" data-cmd="edit">继续录入</a>
            </div>

            <div data-options="region:'center',title:'基本信息'" style="padding:5px;background:#eee;">


                <form id="basic_form" method="post">
                    <%-- 隐藏域--%>
                    <input type="hidden" id="id" name="id">

                    <table align="left" style="margin-top: 15px">

                        <tr>
                            <td align="right">姓名:</td>
                            <td><input class="easyui-textbox" name="name">
                            </td>
                            <td align="right">身份证号码:</td>
                            <td><input class="easyui-textbox" name="idNumber">
                            </td>
                        </tr>

                        <tr>
                            <td align="right">职务:</td>
                            <td><input class="easyui-textbox" name="duty">
                            </td>

                            <td align="right">联系方式:</td>
                            <td><input class="easyui-textbox" name="phone">
                            </td>
                        </tr>

                        <tr>
                            <td align="right">学历:</td>
                            <td><input class="easyui-textbox" name="educationBackground">
                            </td>
                        </tr>

                        <tr>
                            <td align="right">员工图片上传:</td>
                            <td colspan="3">

                                <input type="file" name="pic" class="ui_input_txt02"/>

                                <img src="${product.imagePath}">

                                <input type="hidden" name="imagePath" value="${product.imagePath}"/>
                            </td>
                        </tr>

                    </table>
                </form>


                <%--=====================================================工作经历==============================--%>

                <%--<div id="ccc">
                    <a href="#" class="easyui-linkbutton" iconCls="icon-save" data-cmd="save">保存</a>
                    <a href="#" class="easyui-linkbutton" iconCls="icon-edit" data-cmd="cancel">编辑</a>
                </div>--%>
                <div id="cccc" class="easyui-layout" style="width:600px;height:400px;" fit="true">
                    <div id="ccc">
                        <a href="#" class="easyui-linkbutton" iconCls="icon-add" data-job="add">添加</a>
                        <a href="#" class="easyui-linkbutton" iconCls="icon-remove" data-job="remove">删除</a>
                    </div>
                    <div id="experience_btn">
                        <a href="#" class="easyui-linkbutton" iconCls="icon-save" data-job="save">保存</a>
                        <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" data-job="cancel">取消</a>
                    </div>
                    <div data-options="region:'north',title:'',split:true" style="height:1px;"></div>
                    <%--<div data-options="region:'north',title:'North Title',split:true" style="height:100px;"></div>--%>

                    <div data-options="region:'center'" title="工作经历/教育经历" style="padding:5px;background:#eee;">


                        <%--选项卡--%>
                        <div id="job_tabs" class="easyui-tabs" data-options="" style="width:500px;height:250px;" fit="true">

                            <div id="ccccc" title="工作经历" data-options="selected:true"
                                 style="overflow:auto;padding:20px;display:none;">

                                <%--二维表--%>
                                <table id="job_datagrid"></table>


                                <%--=====================================================教育经历===============================--%>
                                <div id="education_lt" class="easyui-layout" style="width:600px;height:400px;" fit="true">

                                    <div id="education_b">
                                        <a href="#" class="easyui-linkbutton" iconCls="icon-add" data-cmd="add">添加</a>
                                        <a href="#" class="easyui-linkbutton" iconCls="icon-remove" data-cmd="remove">删除</a>
                                    </div>
                                    <div id="education_btn">
                                        <a href="#" class="easyui-linkbutton" iconCls="icon-save" data-cmd="save">保存</a>
                                        <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="cancel">取消</a>
                                    </div>
                                    <div data-options="region:'north',split:true" style="height:1px;">
                                    </div>
                                    <div data-options="region:'center'" style="padding:5px;background:#eee;">
                                        <%--选项卡--%>
                                        <div id="education_tabs" class="easyui-tabs" data-options=""
                                             style="width:500px;height:250px;" fit="true">
                                            <div id="education" title="教育经历" data-options="selected:true"
                                                 style="overflow:auto;padding:20px;display:none;">

                                                <%--二维表--%>
                                                <table id="education_datagrid"></table>
                                            </div>

                                        </div>
                                    </div>
                                </div>
                                <%--=====================================================教育经历===============================--%>
                            </div>
                        </div>
                    </div>
                </div>
                <%--=====================================================工作经历==============================--%>
            </div>
        </div>

    </div>
</div>

<%--=====================================================dialog==============================--%>
<div id="experience_dialog">
    <form id="experience_form" method="post">
        <%-- 隐藏域--%>
        <input type="hidden" id="id" name="id">

        <table align="left" style="margin-top: 15px">

            <tr>
                <td align="right">开始时间:</td>
                <td><input class="easyui-datebox" name="startTime">
                </td>
                <td align="right">结束时间:</td>
                <td><input class="easyui-datebox" name="endTime">
                </td>
            </tr>

            <tr>
                <td align="right">工作单位:</td>
                <td><input class="easyui-textbox" name="company">
                </td>

                <td align="right">部门:</td>
                <td><input class="easyui-textbox" name="department">
                </td>
            </tr>

            <tr>
                <td align="right">工作内容:</td>
                <td><input class="easyui-textbox" name="workContent">
                </td>
            </tr>
            <tr>
                <td align="right">离职原因:</td>
                <td><input class="easyui-textbox" name="reasonForLeave">
                </td>
            </tr>

        </table>
    </form>
</div>
<%--=====================================================dialog==============================--%>

</body>
</html>

















